QT -= gui

#设置C++特性
CONFIG += c++14
CONFIG -= app_bundle

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target


# 包含PCL和VTK的头文件路径
INCLUDEPATH += /usr/include/pcl-1.10
INCLUDEPATH += /usr/include/vtk-7.1
INCLUDEPATH += /usr/include/eigen3

# 链接器标志，链接PCL库
LIBS += -L/usr/lib/x86_64-linux-gnu -lpcl_apps \
-lpcl_common \
-lpcl_features \
-lpcl_io \
-lpcl_kdtree \
-lpcl_keypoints \
-lpcl_ml \
-lpcl_octree \
-lpcl_outofcore \
-lpcl_people \
-lpcl_recognition \
-lpcl_registration \
-lpcl_sample_consensus \
-lpcl_search \
-lpcl_segmentation \
-lpcl_stereo \
-lpcl_surface \
-lpcl_tracking \
-lpcl_visualization # 根据你的PCL版本和需要的模块调整

# 链接器标志，链接VTK
LIBS += -lvtkCommonCore-7.1 \
-lvtkFiltersSources-7.1 \
-lvtkRenderingCore-7.1 \
-lvtkInteractionStyle-7.1 \
-lvtkGUISupportQt-7.1 \
-lvtkCommonDataModel-7.1 \
-lvtkCommonMath-7.1# 根据你的VTK版本和需要的模块调整

INCLUDEPATH += include

HEADERS += \
    include/mission/mission.h \
    include/task/imu_task.h \
    include/task/points_task.h \
    include/task/scan_task.h \
    include/task/task.h \
    include/udp/udp.h

SOURCES += \
        src/main.cpp \
        src/mission/mission.cpp \
        src/task/imu_task.cpp \
        src/task/points_task.cpp \
        src/task/scan_task.cpp \
        src/task/task.cpp \
        src/udp/udp.cpp

